<h2>Contacter</h2>

<?php
	if(isset($_SESSION["message"]))
	{
		echo $_SESSION["message"];
		unset($_SESSION["message"]);
	}
?>

<form action="index.php?module=contact&amp;action=envoyerMail" method="post">
	<p>
		<label for="destinataire">À :
		<?php
			foreach($_SESSION["destinataire"] as $dest)
			{
				echo $dest."<br/>";
			}
		?>
		</label>
	</p>
	<p>
		<label for="objet">Objet : <?php echo $_SESSION["objet"]?></label>
	</p>
	<p>

		<textarea rows=8 cols=50 name="message"></textarea>
	</p>
	<p>
		<input class="Ligne2" type="submit" value="Envoyer" name="envoyer"/>
		<input class="Ligne2" type="submit" value="Annuler" name="annuler"/>
	</p>
</form>